import config from "@/config"
import http from "@/utils/request"
console.log(config)
export default {
	
	token: {
		url: `${config.API_URL}/token`,
		name: "登录获取TOKEN",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
	test:{
		url: `${config.API_URL}/test`,
		name: "登录获取TOKEN",
		get: async function(data={}){
			return {code:200,message:'成功！'};
		}
	}
}
